/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package GUI;

import javax.swing.ImageIcon;

/**
 *
 * @author Jose
 */
public class jugadorSinDinero extends javax.swing.JFrame {

    /**
     * Creates new form jugadorSinDinero
     */
    public jugadorSinDinero() {
        this.setUndecorated(true);
        initComponents();
        setLocationRelativeTo(null);
    }
    
    public void ocultarNoComprar()
    {
        jb_noComprar.setVisible(false);
    }
    
        public void mostrarNoComprar()
    {
        jb_noComprar.setVisible(true);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jb_hipotecar = new javax.swing.JButton();
        jb_noComprar = new javax.swing.JButton();
        jb_venderCasa = new javax.swing.JButton();
        jl_imagen = new javax.swing.JLabel();
        jl_imagenFondo = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(380, 290));
        getContentPane().setLayout(null);

        jb_hipotecar.setBackground(new java.awt.Color(102, 102, 255));
        jb_hipotecar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Botones/HIPOTECAR.png"))); // NOI18N
        jb_hipotecar.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                jb_hipotecarMouseReleased(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jb_hipotecarMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jb_hipotecarMouseExited(evt);
            }
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jb_hipotecarMousePressed(evt);
            }
        });
        jb_hipotecar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jb_hipotecarActionPerformed(evt);
            }
        });
        getContentPane().add(jb_hipotecar);
        jb_hipotecar.setBounds(20, 240, 100, 40);

        jb_noComprar.setBackground(new java.awt.Color(51, 51, 255));
        jb_noComprar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Botones/NOCOMPRAR.png"))); // NOI18N
        jb_noComprar.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                jb_noComprarMouseReleased(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jb_noComprarMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jb_noComprarMouseExited(evt);
            }
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jb_noComprarMousePressed(evt);
            }
        });
        jb_noComprar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jb_noComprarActionPerformed(evt);
            }
        });
        getContentPane().add(jb_noComprar);
        jb_noComprar.setBounds(140, 240, 100, 40);

        jb_venderCasa.setBackground(new java.awt.Color(51, 0, 255));
        jb_venderCasa.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Botones/VENDERCASA.png"))); // NOI18N
        jb_venderCasa.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));
        jb_venderCasa.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                jb_venderCasaMouseReleased(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jb_venderCasaMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jb_venderCasaMouseExited(evt);
            }
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jb_venderCasaMousePressed(evt);
            }
        });
        jb_venderCasa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jb_venderCasaActionPerformed(evt);
            }
        });
        getContentPane().add(jb_venderCasa);
        jb_venderCasa.setBounds(270, 240, 100, 40);

        jl_imagen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Botones/POBRE.png"))); // NOI18N
        getContentPane().add(jl_imagen);
        jl_imagen.setBounds(90, 10, 215, 200);

        jl_imagenFondo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Botones/FONDOCARCEL.jpg"))); // NOI18N
        getContentPane().add(jl_imagenFondo);
        jl_imagenFondo.setBounds(0, 0, 400, 300);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jb_hipotecarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jb_hipotecarActionPerformed

    }//GEN-LAST:event_jb_hipotecarActionPerformed

    private void jb_noComprarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jb_noComprarActionPerformed

    }//GEN-LAST:event_jb_noComprarActionPerformed

    private void jb_venderCasaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jb_venderCasaActionPerformed

    }//GEN-LAST:event_jb_venderCasaActionPerformed

    private void jb_hipotecarMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_hipotecarMouseEntered
        jb_hipotecar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/HIPOTECAR3 SEL.png)")));
    }//GEN-LAST:event_jb_hipotecarMouseEntered

    private void jb_hipotecarMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_hipotecarMouseExited
      jb_hipotecar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/HIPOTECAR3.png)")));   
    }//GEN-LAST:event_jb_hipotecarMouseExited

    private void jb_hipotecarMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_hipotecarMousePressed
         jb_hipotecar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/HIPOTECAR3 OFF.png)")));
    }//GEN-LAST:event_jb_hipotecarMousePressed

    private void jb_hipotecarMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_hipotecarMouseReleased
        jb_hipotecar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/HIPOTECAR3.png)")));
    }//GEN-LAST:event_jb_hipotecarMouseReleased

    private void jb_noComprarMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_noComprarMouseEntered
         jb_noComprar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/NOCOMPRAR SEL.png)")));
    }//GEN-LAST:event_jb_noComprarMouseEntered

    private void jb_noComprarMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_noComprarMouseExited
       jb_noComprar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/NOCOMPRAR.png)")));
    }//GEN-LAST:event_jb_noComprarMouseExited

    private void jb_noComprarMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_noComprarMousePressed
        jb_noComprar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/NOCOMPRAR OFF.png)")));
    }//GEN-LAST:event_jb_noComprarMousePressed

    private void jb_noComprarMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_noComprarMouseReleased
       jb_noComprar.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/NOCOMPRAR.png)")));
    }//GEN-LAST:event_jb_noComprarMouseReleased

    private void jb_venderCasaMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_venderCasaMouseEntered
        jb_venderCasa.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/VENDERCASA SEL.png)")));
    }//GEN-LAST:event_jb_venderCasaMouseEntered

    private void jb_venderCasaMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_venderCasaMouseExited
        jb_venderCasa.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/VENDERCASA.png)")));
    }//GEN-LAST:event_jb_venderCasaMouseExited

    private void jb_venderCasaMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_venderCasaMousePressed
        jb_venderCasa.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/VENDERCASA OFF.png)")));
    }//GEN-LAST:event_jb_venderCasaMousePressed

    private void jb_venderCasaMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jb_venderCasaMouseReleased
        jb_venderCasa.setIcon(new ImageIcon(getClass().getResource("/Imagenes/Botones/VENDERCASA.png)")));
    }//GEN-LAST:event_jb_venderCasaMouseReleased



    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jb_hipotecar;
    private javax.swing.JButton jb_noComprar;
    private javax.swing.JButton jb_venderCasa;
    private javax.swing.JLabel jl_imagen;
    private javax.swing.JLabel jl_imagenFondo;
    // End of variables declaration//GEN-END:variables
}
